<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>P2P互联网金融平台(系统管理平台)</title>
    <link rel="stylesheet" href="../css/bootstrap.css" type="text/css">
    <link rel="stylesheet" href="../css/core.css" type="text/css">
    <script type="text/javascript" src="../js/jquery-2.1.3.js"></script>
    <script type="text/javascript" src="../js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/jquery.bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/jquery.form.min.js"></script>
    <style type="text/css">
        body{
            background-color:  #eee;
        }
        .cm-container{
            margin-top: 160px;
        }
        .login {
            width: 360px;
            height: 300px;
            margin: 0px auto;
        }
    </style>

    <script type="text/javascript">
        $(function(){
            $("#loginForm").ajaxForm({success:function(data){
                    if(data.success){
                        window.location.href="./index.do";
                    }else{
                        $.messager.popup(data.msg);
                    }
                }});
        });
    </script>

</head>
<body>
<div class="container cm-container">
    <h3 class="text-center">P2P互联网金融平台(系统管理平台)</h3>
    <hr>
    <div class="login">
        <form id="loginForm" action="/p2p/login" method="post">
            <div class="form-group form-group-lg">
                <div class="input-group">
                    <div class="input-group-addon">用户名</div>
                    <input class="form-control" name="username" value="">
                </div>
            </div>
            <div class="form-group form-group-lg">
                <div class="input-group">
                    <div class="input-group-addon">密 码</div>
                    <input class="form-control" name="password" type="password" value="">
                </div>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-lg btn-primary btn-block">登录</button>
            </div>
        </form>
    </div>
</div>

</body></html>